package com.ruoyi.hr.service.welfare.welfareRegion;

import com.ruoyi.hr.domain.welfare.welfareregion.WelfareRegionConfig;

import java.util.List;
import java.util.Map;

/**
 * @author zeo
 * @explain 福利地区配置
 * @date 2019/12/18 8:30
 */
public interface WelfareRegionConfigService {
    //查询所有数据
    List<WelfareRegionConfig> findAll(Map map);

    //查询数据数量
    int findCount(WelfareRegionConfig welfareRegionConfig);

    //修改福利地区状态
    int updateIsDisabled(WelfareRegionConfig welfareRegionConfig);

    //修改是否默认
    int updateDefault(WelfareRegionConfig welfareRegionConfig);

    //新增福利地区
    int insertWelfareRegionConfig(WelfareRegionConfig welfareRegionConfig);

    //查询一条记录
    WelfareRegionConfig findWelfareRegionConfigById(int id);

    //修改一条记录
    int updateWelfareRegionConfig(WelfareRegionConfig welfareRegionConfig);

    //批量删除
    int deleteWelfareRegionConfig(String ids);

    //无条件查所有
    List<WelfareRegionConfig> findAlla();
}
